package com.rabbitmq;

import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@EnableRabbit //新增开启Rabbit注解
public class RabbitmqProvider8080 {
    public static void main(String[] args) {
        SpringApplication.run(RabbitmqProvider8080.class, args);
    }
}
